<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>充值</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="../../css/public-heder-Reset.css">
	<link rel="stylesheet" href="../../css/U-Recharge-Withdrawals.css">
</head>
<body>
	<div class="page-box">
		<!-- header -->
		<!-- <header class="page-header">
			<a href="Ucenter.html" class="back"></a>
			<p class="pege-name">充值</p>
			<a href="U-Withdrawals.html" class="Withdrawals">提现</a>
		</header> -->
		<!-- header /-->
		<div class="Card-Number clear">
			<div class="bank fl"></div>
			<div class="bankDetails fl">
				<p class="bankName"></p>
				<p class="bankNumber"></p>
			</div>
		</div>
		<div class="rule">
		</div>
		<div class="U-for">
			<form action="" method="get">
				<div class="number">
					<p>金额</p>
					<input class="number" id="money" type="number" placeholder=" 请输入充值金额" />
				</div>
				<input type="hidden" name="SID" value='sss' />
				<input type="hidden" name="callback" value="fafagargargaegragargar"/>
				<div class="submit-btn">
					<button type="submit" disabled="disabled">立即充值</button>
				</div>
			</form>	
		</div>
		<div class="prompt">
			<h2>温馨提示：</h2>
			<p>1、为保障您的资金安全，您需要确认：资金转出或提现时所使用的银行卡的开户人，必须与您在平台实名认证时所提交的信息保持一致。</p>
			<p>2、您的账户资金将由第三方资金托管平台管理。</p>
			<p>3、当前属于优惠期，用户无需支付充值手续费，费用将由倍倍利向第三方支付平台代为支付。</p>
			<p>4、充值限额依据各银行限额为准。查看限额。<a href="U-bank_quota.html">查看限额</a></p>
			<p>5、如果充值金额没有及时到账，请联系客服：400-960-2338</p>
		</div>
	</div>
<script type="text/javascript" src="../../js/jquery.min.js"></script>
<script type="text/javascript" src="../../js/http-url.js"></script>
<script type="text/javascript">
	$(function(){
		ajaxRequest('/api/user/fb/card/pay',null,function(data){
			$(".bank").addClass(data.data.data.bank_code)
			$(".bankName").text(data.data.data.bank.name)
			$(".bankNumber").text("尾号"+data.data.data.bank_number)
			$(".rule").text(data.data.data.bank.description)
		},false);
		$("[name='SID']").val(resid);
		$('input').on('keyup',function(event){
			if ($(this).val().trim()>0) {
				// 允许提交
				sureSubmit()
			}else {
				// 关闭提交
				cannotSubmit()
			}
		});
		$("form").submit(function(){
			submitOk()
			var action=''+contextPath+'/api/user/deposit/';
			$(this).attr("action",action+$("#money").val());
			return true;
		});
	})
</script>
</body>
</html>